// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

// 引入Element-UI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 引入store
import store from './store'
import Axios from 'axios'
Vue.use(ElementUI)
//将 axios 改写为 Vue 的原型属性
Vue.prototype.$ajax = Axios

// Vue.config.productionTip = false


new Vue({
  router,
  store,
  template: '<App/>',
  render: h => h(App)
}).$mount('#app')
